*{
    margin:0;
    padding:0;
}
html{
    font-size: 32vw;
}
html,body,.box{
    height:100%;
}
body{
    font-size: 0.07rem;
}
#head{
    height: 0.42rem;
    background-color: #1d6dff;
    box-sizing: border-box;
    padding: 0.04rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#head .pig img{
    height:0.21rem;
    margin-left: 0.04rem;
    
}
#head .pig2 img{
    width:0.29rem;
    height:0.29rem;
    margin-right: 0.04rem;
}
main{
    flex:1;
}
/* search */
#search{
    height:0.42rem;
    /* background-color: pink; */
    border-bottom: 1px solid #ccc;
    padding:0.08rem;
    box-sizing: border-box;
    display: flex;;
    position: relative;
}
#search .insear input{
    height:0.25rem;
    width: 2.5rem;
    padding-left: 5%;
    border-radius: 0.13rem;
    border:none;
    background-color: #f1f1f1;
}
#search button{
    background-color: #1d6dff;
    height:0.25rem;
    color:white;
    width: 0.54rem;
    border:none;
    border-radius: 0.13rem;
    position: absolute;
    right:0.08rem;
}
/*           nav      */
#nav{
    /* height:2.6rem; */
    /* background-color: pink; */
    display:flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
#nav div{
    width:.75rem;
    height:.83rem;
    padding:.08rem;
    box-sizing: border-box;
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.11rem;
}
#nav img{
    width:.42rem;
    height:0.42rem;
}
/* <!-- discount 分栏--> */
#discount{
    background-color: #1d6dff;
    height:0.29rem;
    line-height: 0.29rem;
    display: flex;
    justify-content: space-between;
}
#discount span{
    font-size:0.17rem;
    color:#fff;
    font-weight:bolder;
    text-align: left;
    margin-left: 0.08rem;
} 
#discount a{
    text-decoration: none;
}
#discount img{
    height:0.17rem;
    text-align: right;
    margin-top: 0.06rem;
    margin-right: 0.08rem;
}
/* products */
#product ul{
   list-style: none; 
}
#product ul li{
    padding:0.08rem 0.07rem;
    display: flex;
}
#product ul li img{
    height:0.83rem;
    width:0.83rem;
}
#product ul li .right .top{
    font-size: 0.12rem;
    line-height: 0.16rem;
    color:#333;
    word-break: break-all;
    padding: 0.04rem;
    margin:0.04rem 0;

}
#product ul li .right .top span{
    color:red;
}
#product ul li .right .bot span{
    color: #666;
    font-size:0.07rem;
    font-style: normal;
}
#product ul li .right .bot .sp1{
    margin-right:0.42rem;
}
/* footer */
footer{
    background-color: #f4f4f4;
}
footer .top{
    padding:0.08rem;
}
footer .top a{
    display: block;
    font-size:0.11rem;
    line-height: 0.25rem;
    text-align: center;
    border-radius: 0.04rem;
    border: 1px solid #dddddd;
    text-decoration: none;
    color:#666;
    background-image: linear-gradient(#ffffff, #f4f4f4)
}
footer .mid{
    background-color: #1d6dff;
    margin-top: 0.08rem;
    margin-bottom: 0.05rem;
    height:0.29rem;
    line-height: 0.29rem;
    display: flex;
    justify-content: space-between;
}
footer .mid span{
    font-size:0.17rem;
    color:#fff;
    font-weight:bolder;
    text-align: left;
    margin-left: 0.08rem;
}
footer .mid img{ 
    height:0.17rem;
    text-align: right;
    margin-top: 0.06rem;
    margin-right: 0.08rem;  
}
footer .bot .content{
    height:0.33rem;
    line-height: 0.33rem;
    width:100%;
    display: flex;
    justify-content: space-around;
    margin-top: 0.17rem;
}
footer .bot .content div{
    border:1px solid #c1c1c1;
    /* flex:1; */
    width:33.4%;
    text-align: center;
    border-left:0;
    font-size: 0.12rem;
}
 
footer .bot .content2{
    padding:0.08rem;
    padding-bottom: 0;
    text-align: center;
}
footer .bot .content2 a{
    text-decoration: none;
    color:#666;
}
footer .bot .content2 p:nth-of-type(1){
    margin-bottom: 0.08rem;
}
